
var order_manageService = {
	search : function(config, callback){
		Api.get("order_manage.getOrderList", config, callback);
	},
	// 获取主账号下的子账号
	getSubAccount: function (param, callback) {
		Api.get("order_manage.getSubAccount", { 'urlParams': param }, callback);
	},
	// 根据关键字搜索子账号
	searchSubAccount: function (param, callback) {
		Api.get("order_manage.searchSubAccount", { 'urlParams': param }, callback);
	},
	// 获取订单状态
	getOrderStatus: function(param, callback) {
		Api.get("order_manage.getOrderStatus", { 'seatParams': param }, callback);
	},
 // 获取订单明细
	getOrdersDetail: function(param, callback) {
		Api.post("order_manage.getOrdersDetail", { 'urlParams': param }, callback);
	},

	enableButton : function() {
	},
	disableButton : function(data) {
	},
	// 删除订单
	removeOrders : function(param, callback){
		Api.post("order_manage.delOrders", { "urlParams": param }, callback);
	},
}
module.exports = order_manageService;